<?php 

function getAll()
{
	$conn = getConnection();
	return $conn->query('SELECT * FROM 2011_ContactMethods');
}
	
function get($id)
{	
	$conn = getConnection();
	$result = $conn->query('SELECT * FROM 2011_ContactMethods WHERE id=$id');
	$rs=$result->fetch_assoc();
	$conn->close();
	return $rs;
}

function save($rs)
{
	
}

function delete($id)
{
	
}
	
?>
	